.container-edit {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 18px;
    color: #3498db;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="date"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.image-upload {
    text-align: center;
    margin-bottom: 20px;
}

.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #ddd;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    display: none;
}

.upload-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background-color: #2980b9;
}

.budget-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.budget-item input {
    flex: 1;
}

.saving-plan-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.saving-plan-item input {
    flex: 1;
}

.action-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.action-btn.delete {
    background-color: #e74c3c;
}

.action-btn:hover {
    opacity: 0.9;
}

.add-btn {
    background-color: #3498db;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.submit-btn {
    background-color: #2c3e50;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 30px auto 0;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1a252f;
}

.hidden {
    display: none;
}